gdk: Rework gdk_pixbuf_get_from_texture()
authorBenjamin Otte <otte@redhat.com>
Sat, 25 Sep 2021 22:22:20 +0000 (00:22 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Oct 2021 10:08:57 +0000 (12:08 +0200)
commitdcba78338949d2e1edaf30cd580ddf348d39f181
treeea9bd015b5ad9a55ae01cdd9f282100cb7476336
parent7eceed8d4d542af2deadeb961a96e65c56ef125c
gdk: Rework gdk_pixbuf_get_from_texture()

Make it use gdk_memory_texture_from_texture().

Also make gdk_memory_format_alpha() privately available so that we can
detect if an image contains an alpha channel.
gdk/gdkcontentserializer.c
gdk/gdkmemoryformat.c
gdk/gdkmemoryformatprivate.h
gdk/gdkpixbuf-drawable.c